#region File Description
//-----------------------------------------------------------------------------
// EvadeBehavior.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion

#region Using Statements
using System;
using Microsoft.Xna.Framework;
#endregion

namespace Dude_Platformer
{
    /// <summary>
    /// EvadeBehavior is a Behavior that will make an entity evade another. The 
    /// logic is the same as we have seen in the previous AI sample. 
    /// </summary>
    public class EvadeBehavior : Behavior
    {
        public EvadeBehavior(Enemy entity)
            : base(entity)
        {
        }

        public override void Update(GameTime gameTime)
        {
            Entity.Jump();
        }
    }
}
